﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;


namespace Guline.Web.LiveModels.Models
{
    public class Room_member
    {
        [Key]
        public int ID { get; set; }
        public int room_ID { get; set; }
        [ForeignKey("room_ID")]
        public virtual Room Room { get; set; }

        public int user_ID { get; set; }
        [ForeignKey("user_ID")]
        public virtual User User { get; set; }

        public bool isroot { get; set; }

        public DateTime add_date { get; set; }
    }
}
